
#ifndef __VOLUME_H__
#define __VOLUME_H__

#include <Unit.h>

class UnitVolume : public Unit
{
public:
    static Unit& getOz();
    static Unit& getTsp();
    static Unit& getTbsp();
    virtual Unit& getBaseUnit() const;
private:
    UnitVolume(const int valueInBaseUnit, const UnitType& unitType, const char* unitName);
private:
    static const UnitType typeVolume;
};

#define OZ UnitVolume::getOz()
#define TSP UnitVolume::getTsp()
#define TBSP UnitVolume::getTbsp()

#endif

